package com.softline.documentsmall.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * log_analyse
 * @author  wph
 */
@Data
public class LogAnalyse implements Serializable {
    /**
     * 条目多人协作提交详细信息
     */
    private Integer id;

    /**
     * 一级分类，如：大数据基础
     */
    private String firstType;

    /**
     * 四级分类，如：集合
     */
    private String fourthType;

    /**
     * 多语言分类，如英文：en，中文：cn
     */
    private String language;

    /**
     * 用户id
     */
    private String passportId;

    /**
     * 是一级分类还是四级分类(1:1级,4:4级)
     */
    private Integer isFirstOrFourth;

    /**
     * 查询时间
     */
    private Date createDate;

    private static final long serialVersionUID = 1L;


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", firstType=").append(firstType);
        sb.append(", fourthType=").append(fourthType);
        sb.append(", language=").append(language);
        sb.append(", passportId=").append(passportId);
        sb.append(", isFirstOrFourth=").append(isFirstOrFourth);
        sb.append(", createDate=").append(createDate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
